import request from "../utils/request";

// 文章列表
export function article() {
  return request({
    url: "/profile ",
    method: "get"
  });
}

interface Seat {
  id: string;
  label: string;
  selected: boolean;
  reserved: boolean;
  purchased: boolean;
}

interface SeatRow {
  rowNumber: number;
  seats: Seat[];
}
// 为特定放映厅生成座位数据的函数
export const generateSeatsForHall = (hallId: string): SeatRow[] => {
  // 随机生成座位行数（8到10行之间）
  const rowCount = Math.floor(Math.random() * 3) + 8;
  const rows: SeatRow[] = [];
  let seatCount = Math.floor(Math.random() * 3) + 4; // 生成4或6
  while (seatCount === 5) { // 确保seatCount不是5
    seatCount = Math.floor(Math.random() * 3) + 4;
  }
  // 生成指定数量的座位行
  for (let i = 0; i < rowCount; i++) {
    // 随机生成每个座位行内的座位数（4到6列之间）
    // const seatCount = Math.floor(Math.random() * 2) + 4; // 生成4或6
    // const seatCount = 4;
    const seats: Seat[] = [];

    // 生成指定数量的座位
    for (let j = 0; j < seatCount; j++) {
      seats.push({
        id: `${hallId}-${i}-${j}`,
        label: `${String.fromCharCode(65 + i)}${j + 1}`,
        selected: false,
        reserved: Math.random() > 0.8,
        purchased: Math.random() > 0.9,
      });
    }

    // 将座位行添加到总座位行数组中
    rows.push({
      rowNumber: i + 1,
      seats,
    });
  }
  return rows;
};

// 为特定放映厅生成座位数据的函数
export const promiseGenerateSeatsForHall = (hallId: string): Promise<SeatRow[]> => {
  return new Promise((resolve) => {
    setTimeout(() => {
      // 随机生成座位行数（8到12行之间）
      const rowCount = Math.floor(Math.random() * 5) + 8;
      const rows: SeatRow[] = [];
        let seatCount = Math.floor(Math.random() * 3) + 4; // 生成4或6
        while (seatCount === 5) { // 确保seatCount不是5
            seatCount = Math.floor(Math.random() * 3) + 4;
        }
      // 生成指定数量的座位行
      for (let i = 0; i < rowCount; i++) {
        // 随机生成每个座位行内的座位数（4到8列之间）
        // const seatCount = Math.floor(Math.random() * 5) + 4;
        // const seatCount = 3;
        const seats: Seat[] = [];

        // 生成指定数量的座位
        for (let j = 0; j < seatCount; j++) {
          seats.push({
              id: `${hallId.replace(/[\u4e00-\u9fa5]/g, "") }-${i}-${j}`,
            label: `${String.fromCharCode(65 + i)}${j + 1}`,
            selected: false,
            reserved: Math.random() > 0.8,
            purchased: Math.random() > 0.9,
          });
        }

        // 将座位行添加到总座位行数组中
        rows.push({
          rowNumber: i + 1,
          seats,
        });
      }
        // console.log(11111,{
        //     id: `${hallId.replace(/[\u4e00-\u9fa5]/g, "")}`,
        //     name: hallId,
        //     seats: rows.length
        // });
    //   resolve(rows);
      resolve({
          id: `${hallId.slice(0,1)}`,
          name:hallId,
          seats: rows
      });
    }, 500);
  });
};


/* 
数据模型
[
    {
        "id": "01",
        "name": "厅01",
        "seats": [
            {
                "rowNumber": 1,
                "seats": [
                    {
                        "id": "01-0-0",
                        "label": "A1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "01-0-1",
                        "label": "A2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "01-0-2",
                        "label": "A3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "01-0-3",
                        "label": "A4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 2,
                "seats": [
                    {
                        "id": "01-1-0",
                        "label": "B1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "01-1-1",
                        "label": "B2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "01-1-2",
                        "label": "B3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "01-1-3",
                        "label": "B4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 3,
                "seats": [
                    {
                        "id": "01-2-0",
                        "label": "C1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "01-2-1",
                        "label": "C2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "01-2-2",
                        "label": "C3",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    },
                    {
                        "id": "01-2-3",
                        "label": "C4",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    }
                ]
            },
            {
                "rowNumber": 4,
                "seats": [
                    {
                        "id": "01-3-0",
                        "label": "D1",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "01-3-1",
                        "label": "D2",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "01-3-2",
                        "label": "D3",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    },
                    {
                        "id": "01-3-3",
                        "label": "D4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 5,
                "seats": [
                    {
                        "id": "01-4-0",
                        "label": "E1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "01-4-1",
                        "label": "E2",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "01-4-2",
                        "label": "E3",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    },
                    {
                        "id": "01-4-3",
                        "label": "E4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 6,
                "seats": [
                    {
                        "id": "01-5-0",
                        "label": "F1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "01-5-1",
                        "label": "F2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "01-5-2",
                        "label": "F3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "01-5-3",
                        "label": "F4",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    }
                ]
            },
            {
                "rowNumber": 7,
                "seats": [
                    {
                        "id": "01-6-0",
                        "label": "G1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "01-6-1",
                        "label": "G2",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "01-6-2",
                        "label": "G3",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "01-6-3",
                        "label": "G4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 8,
                "seats": [
                    {
                        "id": "01-7-0",
                        "label": "H1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "01-7-1",
                        "label": "H2",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    },
                    {
                        "id": "01-7-2",
                        "label": "H3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "01-7-3",
                        "label": "H4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            }
        ]
    },
    {
        "id": "02",
        "name": "厅02",
        "seats": [
            {
                "rowNumber": 1,
                "seats": [
                    {
                        "id": "02-0-0",
                        "label": "A1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-0-1",
                        "label": "A2",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    },
                    {
                        "id": "02-0-2",
                        "label": "A3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-0-3",
                        "label": "A4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-0-4",
                        "label": "A5",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-0-5",
                        "label": "A6",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 2,
                "seats": [
                    {
                        "id": "02-1-0",
                        "label": "B1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-1-1",
                        "label": "B2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-1-2",
                        "label": "B3",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "02-1-3",
                        "label": "B4",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "02-1-4",
                        "label": "B5",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-1-5",
                        "label": "B6",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 3,
                "seats": [
                    {
                        "id": "02-2-0",
                        "label": "C1",
                        "selected": false,
                        "reserved": true,
                        "purchased": true
                    },
                    {
                        "id": "02-2-1",
                        "label": "C2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-2-2",
                        "label": "C3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-2-3",
                        "label": "C4",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "02-2-4",
                        "label": "C5",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-2-5",
                        "label": "C6",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 4,
                "seats": [
                    {
                        "id": "02-3-0",
                        "label": "D1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-3-1",
                        "label": "D2",
                        "selected": false,
                        "reserved": true,
                        "purchased": true
                    },
                    {
                        "id": "02-3-2",
                        "label": "D3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-3-3",
                        "label": "D4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-3-4",
                        "label": "D5",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-3-5",
                        "label": "D6",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 5,
                "seats": [
                    {
                        "id": "02-4-0",
                        "label": "E1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-4-1",
                        "label": "E2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-4-2",
                        "label": "E3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-4-3",
                        "label": "E4",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "02-4-4",
                        "label": "E5",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-4-5",
                        "label": "E6",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    }
                ]
            },
            {
                "rowNumber": 6,
                "seats": [
                    {
                        "id": "02-5-0",
                        "label": "F1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-5-1",
                        "label": "F2",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "02-5-2",
                        "label": "F3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-5-3",
                        "label": "F4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-5-4",
                        "label": "F5",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-5-5",
                        "label": "F6",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 7,
                "seats": [
                    {
                        "id": "02-6-0",
                        "label": "G1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-6-1",
                        "label": "G2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-6-2",
                        "label": "G3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-6-3",
                        "label": "G4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-6-4",
                        "label": "G5",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-6-5",
                        "label": "G6",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 8,
                "seats": [
                    {
                        "id": "02-7-0",
                        "label": "H1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-7-1",
                        "label": "H2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-7-2",
                        "label": "H3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-7-3",
                        "label": "H4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-7-4",
                        "label": "H5",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-7-5",
                        "label": "H6",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 9,
                "seats": [
                    {
                        "id": "02-8-0",
                        "label": "I1",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    },
                    {
                        "id": "02-8-1",
                        "label": "I2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-8-2",
                        "label": "I3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-8-3",
                        "label": "I4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "02-8-4",
                        "label": "I5",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    },
                    {
                        "id": "02-8-5",
                        "label": "I6",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    }
                ]
            }
        ]
    },
    {
        "id": "03",
        "name": "厅03",
        "seats": [
            {
                "rowNumber": 1,
                "seats": [
                    {
                        "id": "03-0-0",
                        "label": "A1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-0-1",
                        "label": "A2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-0-2",
                        "label": "A3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-0-3",
                        "label": "A4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 2,
                "seats": [
                    {
                        "id": "03-1-0",
                        "label": "B1",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "03-1-1",
                        "label": "B2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-1-2",
                        "label": "B3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-1-3",
                        "label": "B4",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 3,
                "seats": [
                    {
                        "id": "03-2-0",
                        "label": "C1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-2-1",
                        "label": "C2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-2-2",
                        "label": "C3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-2-3",
                        "label": "C4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 4,
                "seats": [
                    {
                        "id": "03-3-0",
                        "label": "D1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-3-1",
                        "label": "D2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-3-2",
                        "label": "D3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-3-3",
                        "label": "D4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 5,
                "seats": [
                    {
                        "id": "03-4-0",
                        "label": "E1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-4-1",
                        "label": "E2",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "03-4-2",
                        "label": "E3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-4-3",
                        "label": "E4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 6,
                "seats": [
                    {
                        "id": "03-5-0",
                        "label": "F1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-5-1",
                        "label": "F2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-5-2",
                        "label": "F3",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "03-5-3",
                        "label": "F4",
                        "selected": false,
                        "reserved": true,
                        "purchased": true
                    }
                ]
            },
            {
                "rowNumber": 7,
                "seats": [
                    {
                        "id": "03-6-0",
                        "label": "G1",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "03-6-1",
                        "label": "G2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-6-2",
                        "label": "G3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-6-3",
                        "label": "G4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 8,
                "seats": [
                    {
                        "id": "03-7-0",
                        "label": "H1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-7-1",
                        "label": "H2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-7-2",
                        "label": "H3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-7-3",
                        "label": "H4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 9,
                "seats": [
                    {
                        "id": "03-8-0",
                        "label": "I1",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "03-8-1",
                        "label": "I2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-8-2",
                        "label": "I3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "03-8-3",
                        "label": "I4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            }
        ]
    },
    {
        "id": "04",
        "name": "厅04",
        "seats": [
            {
                "rowNumber": 1,
                "seats": [
                    {
                        "id": "04-0-0",
                        "label": "A1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-0-1",
                        "label": "A2",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "04-0-2",
                        "label": "A3",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "04-0-3",
                        "label": "A4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-0-4",
                        "label": "A5",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "04-0-5",
                        "label": "A6",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    }
                ]
            },
            {
                "rowNumber": 2,
                "seats": [
                    {
                        "id": "04-1-0",
                        "label": "B1",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "04-1-1",
                        "label": "B2",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    },
                    {
                        "id": "04-1-2",
                        "label": "B3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-1-3",
                        "label": "B4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-1-4",
                        "label": "B5",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-1-5",
                        "label": "B6",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 3,
                "seats": [
                    {
                        "id": "04-2-0",
                        "label": "C1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-2-1",
                        "label": "C2",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    },
                    {
                        "id": "04-2-2",
                        "label": "C3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-2-3",
                        "label": "C4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-2-4",
                        "label": "C5",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-2-5",
                        "label": "C6",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    }
                ]
            },
            {
                "rowNumber": 4,
                "seats": [
                    {
                        "id": "04-3-0",
                        "label": "D1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-3-1",
                        "label": "D2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-3-2",
                        "label": "D3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-3-3",
                        "label": "D4",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "04-3-4",
                        "label": "D5",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "04-3-5",
                        "label": "D6",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 5,
                "seats": [
                    {
                        "id": "04-4-0",
                        "label": "E1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-4-1",
                        "label": "E2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-4-2",
                        "label": "E3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-4-3",
                        "label": "E4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-4-4",
                        "label": "E5",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-4-5",
                        "label": "E6",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 6,
                "seats": [
                    {
                        "id": "04-5-0",
                        "label": "F1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-5-1",
                        "label": "F2",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "04-5-2",
                        "label": "F3",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "04-5-3",
                        "label": "F4",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    },
                    {
                        "id": "04-5-4",
                        "label": "F5",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-5-5",
                        "label": "F6",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 7,
                "seats": [
                    {
                        "id": "04-6-0",
                        "label": "G1",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "04-6-1",
                        "label": "G2",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-6-2",
                        "label": "G3",
                        "selected": false,
                        "reserved": false,
                        "purchased": true
                    },
                    {
                        "id": "04-6-3",
                        "label": "G4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-6-4",
                        "label": "G5",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-6-5",
                        "label": "G6",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            },
            {
                "rowNumber": 8,
                "seats": [
                    {
                        "id": "04-7-0",
                        "label": "H1",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-7-1",
                        "label": "H2",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "04-7-2",
                        "label": "H3",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-7-3",
                        "label": "H4",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    },
                    {
                        "id": "04-7-4",
                        "label": "H5",
                        "selected": false,
                        "reserved": true,
                        "purchased": false
                    },
                    {
                        "id": "04-7-5",
                        "label": "H6",
                        "selected": false,
                        "reserved": false,
                        "purchased": false
                    }
                ]
            }
        ]
    }
]


*/